﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.AuditField;

namespace T.Settlement.Domain
{
    /// <summary>
    /// 付款管理
    /// </summary>
    public class Payment: AuditFields
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int PaymentId { get; set; }
        /// <summary>
        /// 全球唯一标识符
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string? PaymentTitle { get; set; }
        /// <summary>
        /// 用途描述
        /// </summary>
        public string? Description { get; set; }
        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal? PaymentPrice { get; set; }
        /// <summary>
        /// 结算方式
        /// </summary>
        public string? BillingMethod { get; set; }
        /// <summary>
        /// 其它结算方式
        /// </summary>
        public string? OtherBillingMethod { get; set; }
        /// <summary>
        /// 支付对象
        /// </summary>
        public string? PaymentMethods { get; set; }
        /// <summary>
        /// 开户行
        /// </summary>
        public string? PaymentBank { get; set; }
        /// <summary>
        /// 银行账户
        /// </summary>
        public string? BankAccount { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        public string? PaymentApplicant { get; set; }
        /// <summary>
        /// 付款日期
        /// </summary>
        public DateTime? PaymentDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? PaymentRemark { get; set; }
        /// <summary>
        /// 票据附件
        /// </summary>
        public string? TicketAttachments { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int? ApprovalStatus { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>
        public string? Approver { get; set; }
    }
}
